package com.whminwei.edu.api.tchbase.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangzf
 * @since 2024/7/9
 **/
@Data
@NoArgsConstructor
public class DisciplineFspn {

    @JsonValue
    private List<DisciplineBo> disciplineList;

    @JsonCreator
    public DisciplineFspn(List<DisciplineBo> disciplineList) {
        this.disciplineList = disciplineList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class DisciplineBo {
        /**
         * 学科ID
         */
        private String disciplineId;
        /**
         * 学科名称
         */
        private String disciplineName;
        /**
         * 教授教师列表
         */
        private List<String> teacherList;
    }
}
